export namespace Dictionary {
  // 查询字典目录下字典编码
  export interface ResCodesByType {
    dicType: string;
    dicCode: string;
    dicMark: string;
    remark: string;
  }
  // 保存字典值
  export interface ReqDoSave {
    dicCode: string;
    dcode: string;
    showOrder: string;
    pid: number;
    remark: string;
  }

  // 查询编码下所有字典值
  export interface ResListByCodesProp {
    id: number;
    dicCode: string;
    dcode: string;
    pid: number;
    showOrder: number;
    flagSystem: number;
    paramMark: string;
    status: number;
    remark: string;

    pidValue?: any;
  }
  // 查询编码下所有字典值
  export interface ResListByCodes {
    key: string;
    value: ResListByCodesProp[];
  }
  // 查询字典父级下所有子级值
  export interface ResListByPid {
    id: number;
    dicCode: string;
    dcode: string;
    pid: number;
    showOrder: number;
    flagSystem: number;
    paramMark: string;
    status: number;
    remark: string;

    dotime: string;
    uptime: string;
    pidValue?: any;
  }
}
